home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / mplay_zorro.gls < prev    next >
Text File  |  2000-08-22  |  12KB  |  627 lines

  1. /************/
  2. /* INCLUDES */
  3. /************/
  4.  
  5. // n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
  6.  
  7. // default things to inherit our objects from
  8.  
  9. #include "defaults.gsh"
  10.  
  11. // good guys
  12.  
  13. #include "frend.gsh"
  14. #include "hark.gsh"
  15. #include "gunlok.gsh"
  16. #include "elint.gsh"
  17.  
  18. // bad guys
  19.  
  20.  
  21. // neutral things
  22.  
  23.  
  24. // fires
  25.  
  26. #include "carfire.gsh"
  27. #include "oilfire.gsh"
  28.  
  29. /*********/
  30. /* NOTES */
  31. /*********/
  32.  
  33. /**********/
  34. /* SHAPES */
  35. /**********/
  36. // world objects
  37.  
  38. shape Shp_capture_point
  39. {
  40.     file "objects\capture point.rif"
  41.     name "capture point"
  42. }
  43.  
  44.  
  45.  
  46. shape Shp_SUPPORT_A
  47. {
  48.     file "levels\mplay_zorro.rif"
  49.     name "SUPPORT A"
  50. }
  51. shape Shp_SUPPORT_B
  52. {
  53.     file "levels\mplay_zorro.rif"
  54.     name "SUPPORT B"
  55. }
  56. shape Shp_SUPPORT_C
  57. {
  58.     file "levels\mplay_zorro.rif"
  59.     name "SUPPORT C"
  60. }
  61. shape Shp_SUPPORT_D
  62. {
  63.     file "levels\mplay_zorro.rif"
  64.     name "SUPPORT D"
  65. }
  66. shape Shp_SUPPORT_E
  67. {
  68.     file "levels\mplay_zorro.rif"
  69.     name "SUPPORT E"
  70. }
  71. shape Shp_SUPPORT_F
  72. {
  73.     file "levels\mplay_zorro.rif"
  74.     name "SUPPORT F"
  75. }
  76. shape Shp_SUPPORT_G
  77. {
  78.     file "levels\mplay_zorro.rif"
  79.     name "SUPPORT G"
  80. }
  81. shape Shp_SUPPORT_H
  82. {
  83.     file "levels\mplay_zorro.rif"
  84.     name "SUPPORT H"
  85. }
  86. shape Shp_SUPPORT_I
  87. {
  88.     file "levels\mplay_zorro.rif"
  89.     name "SUPPORT I"
  90. }
  91. shape Shp_SUPPORT_J
  92. {
  93.     file "levels\mplay_zorro.rif"
  94.     name "SUPPORT J"
  95. }
  96. shape Shp_SUPPORT_K
  97. {
  98.     file "levels\mplay_zorro.rif"
  99.     name "SUPPORT K"
  100. }
  101. shape Shp_SUPPORT_L
  102. {
  103.     file "levels\mplay_zorro.rif"
  104.     name "SUPPORT L"
  105. }
  106. shape Shp_SUPPORT_M
  107. {
  108.     file "levels\mplay_zorro.rif"
  109.     name "SUPPORT M"
  110. }
  111. shape Shp_CAR_A
  112. {
  113.     file "objects\car.rif"
  114.     name "CAR"
  115. }
  116.  
  117. shape Shp_TRUCK_A
  118. {
  119.     file "levels\mplay_zorro.rif"
  120.     name "TRUCK A"
  121. }
  122.  
  123. shape Shp_JUNKPILE_F
  124. {
  125.     file "objects\JUNKPILE F.rif"
  126.     name "JUNKPILE F"
  127. }
  128.  
  129. shape Shp_JUNKPILE_G
  130. {
  131.     file "objects\JUNKPILE G.rif"
  132.     name "JUNKPILE G"
  133. }
  134.  
  135. shape Shp_JUNKPILE_K
  136. {
  137.     file "objects\JUNKPILE K.rif"
  138.     name "JUNKPILE K"
  139. }
  140.  
  141. shape Shp_JUNKPILE_L
  142. {
  143.     file "objects\JUNKPILE L.rif"
  144.     name "JUNKPILE L"
  145. }
  146. shape Shp_JUNKPILE_M
  147. {
  148.     file "objects\JUNKPILE M.rif"
  149.     name "JUNKPILE M"
  150. }
  151. shape Shp_JUNKPILE_N
  152. {
  153.     file "objects\JUNKPILE N.rif"
  154.     name "JUNKPILE N"
  155. }
  156. shape Shp_GARBAGE_E
  157. {
  158.     file "objects\GARBAGE E.rif"
  159.     name "GARBAGE E"
  160. }
  161. shape Shp_GARBAGE_F
  162. {
  163.     file "objects\GARBAGE F.rif"
  164.     name "GARBAGE F"
  165. }
  166. shape Shp_GARBAGE_G
  167. {
  168.     file "objects\GARBAGE G.rif"
  169.     name "GARBAGE G"
  170. }
  171.  
  172. shape Shp_GARBAGE_B
  173. {
  174.     file "objects\GARBAGE B.rif"
  175.     name "GARBAGE B"
  176. }
  177.  
  178. shape Shp_GARBAGE_H
  179. {
  180.     file "objects\GARBAGE H.rif"
  181.     name "GARBAGE H"
  182. }
  183.  
  184. shape Shp_GARBAGE_I
  185. {
  186.     file "objects\GARBAGE I.rif"
  187.     name "GARBAGE I"
  188. }
  189.  
  190. /**********/
  191. /* ROLES  */
  192. /**********/
  193.  
  194. role Rol_capture_point : Rol_PlacedObject
  195. {
  196.     shape Shp_capture_point
  197.     identifier "capturepoint"
  198. }
  199.  
  200.  
  201. role Rol_SUPPORT_A : Rol_PlacedObject
  202. {
  203.     shape Shp_SUPPORT_A
  204. }
  205. role Rol_SUPPORT_B : Rol_PlacedObject
  206. {
  207.     shape Shp_SUPPORT_B
  208. }
  209. role Rol_SUPPORT_C : Rol_PlacedObject
  210. {
  211.     shape Shp_SUPPORT_C
  212. }
  213. role Rol_SUPPORT_D : Rol_PlacedObject
  214. {
  215.     shape Shp_SUPPORT_D
  216. }
  217. role Rol_SUPPORT_E : Rol_PlacedObject
  218. {
  219.     shape Shp_SUPPORT_E
  220. }
  221. role Rol_SUPPORT_F : Rol_PlacedObject
  222. {
  223.     shape Shp_SUPPORT_F
  224. }
  225. role Rol_SUPPORT_G : Rol_PlacedObject
  226. {
  227.     shape Shp_SUPPORT_G
  228. }
  229. role Rol_SUPPORT_H : Rol_PlacedObject
  230. {
  231.     shape Shp_SUPPORT_H
  232. }
  233. role Rol_SUPPORT_I : Rol_PlacedObject
  234. {
  235.     shape Shp_SUPPORT_I
  236. }
  237. role Rol_SUPPORT_J : Rol_PlacedObject
  238. {
  239.     shape Shp_SUPPORT_J
  240. }
  241. role Rol_SUPPORT_K : Rol_PlacedObject
  242. {
  243.     shape Shp_SUPPORT_K
  244. }
  245. role Rol_SUPPORT_L : Rol_PlacedObject
  246. {
  247.     shape Shp_SUPPORT_L
  248. }
  249. role Rol_SUPPORT_M : Rol_PlacedObject
  250. {
  251.     shape Shp_SUPPORT_M
  252. }
  253. role Rol_CAR_A : Rol_PlacedObject
  254. {
  255.     shape Shp_CAR_A
  256. }
  257.  
  258. role Rol_TRUCK_A : Rol_PlacedObject
  259. {
  260.     shape Shp_TRUCK_A
  261. }
  262.  
  263. role Rol_Junkpile_F : Rol_DefaultGarbage
  264. {
  265.     shape Shp_JUNKPILE_F
  266. }
  267.  
  268. role Rol_Junkpile_G : Rol_DefaultGarbage
  269. {
  270.     shape Shp_JUNKPILE_G
  271. }
  272.  
  273. role Rol_Junkpile_K : Rol_DefaultGarbage
  274. {
  275.     shape Shp_JUNKPILE_K
  276. }
  277.  
  278. role Rol_Junkpile_L : Rol_DefaultGarbage
  279. {
  280.     shape Shp_JUNKPILE_L
  281. }
  282. role Rol_Junkpile_M : Rol_DefaultGarbage
  283. {
  284.     shape Shp_JUNKPILE_M
  285. }
  286. role Rol_Junkpile_N : Rol_DefaultGarbage
  287. {
  288.     shape Shp_JUNKPILE_N
  289. }
  290. role Rol_Garbage_E : Rol_DefaultGarbage
  291. {
  292.     shape Shp_GARBAGE_E
  293. }
  294. role Rol_Garbage_F : Rol_DefaultGarbage
  295. {
  296.     shape Shp_GARBAGE_F
  297. }
  298. role Rol_Garbage_G : Rol_DefaultGarbage
  299. {
  300.     shape Shp_GARBAGE_G
  301. }
  302.  
  303. role Rol_Garbage_B : Rol_DefaultGarbage
  304. {
  305.     shape Shp_GARBAGE_B
  306. }
  307.  
  308. role Rol_Garbage_H : Rol_DefaultGarbage
  309. {
  310.     shape Shp_GARBAGE_H
  311. }
  312.  
  313. role Rol_Garbage_I : Rol_DefaultGarbage
  314. {
  315.     shape Shp_GARBAGE_I
  316. }
  317.  
  318. /***********/
  319. /* THE MAP */
  320. /***********/
  321.  
  322. map /* _THE_ map - doesnt need a label */
  323. {
  324.     file "levels\mplay_zorro.rif"
  325.     name "Land"
  326.     bitmap "bitmaps\\mplay_zorro.rim"
  327.     camera plane none
  328.     max camera distance 100 // TBD exactly
  329.     shadow object rif "levels\mplay_zorro_shadow.rif"
  330.     shadow object name "Land"
  331.  
  332.     // PLAYERS TROOPS
  333.  
  334.     use Rol_Hark in team 1 for
  335.         "Goodie AA" as "hark"
  336.  
  337.     use Rol_Elint in team 1 for
  338.         "Goodie AB" as "elint"
  339.  
  340.     use Rol_Frend in team 1 for
  341.         "Goodie AC" as "frend"
  342.  
  343.     use Rol_GunLok in team 1 for
  344.         "Goodie AD" as "gunlok"
  345.  
  346.     use Rol_Elint in team 1 for
  347.         "Goodie AE" as "elint"
  348.  
  349.  
  350.     use Rol_Hark in team 3 for
  351.         "Goodie BA" as "hark"
  352.  
  353.     use Rol_Elint in team 3 for
  354.         "Goodie BB" as "elint"
  355.  
  356.     use Rol_Frend in team 3 for
  357.         "Goodie BC" as "frend"
  358.  
  359.     use Rol_GunLok in team 3 for
  360.         "Goodie BD" as "gunlok"
  361.  
  362.     use Rol_Elint in team 3 for
  363.         "Goodie BE" as "elint"
  364.  
  365.  
  366.  
  367.     use Rol_Hark in team 4 for
  368.         "Goodie CA" as "hark"
  369.  
  370.     use Rol_Elint in team 4 for
  371.         "Goodie CB" as "elint"
  372.  
  373.     use Rol_Frend in team 4 for
  374.         "Goodie CC" as "frend"
  375.  
  376.     use Rol_GunLok in team 4 for
  377.         "Goodie CD" as "gunlok"
  378.  
  379.     use Rol_Elint in team 4 for
  380.         "Goodie CE" as "elint"
  381.  
  382.  
  383.     use Rol_Hark in team 5 for
  384.         "Goodie DA" as "hark"
  385.  
  386.     use Rol_Elint in team 5 for
  387.         "Goodie DB" as "elint"
  388.  
  389.     use Rol_Frend in team 5 for
  390.         "Goodie DC" as "frend"
  391.  
  392.     use Rol_GunLok in team 5 for
  393.         "Goodie DD" as "gunlok"
  394.  
  395.     use Rol_Elint in team 5 for
  396.         "Goodie DE" as "elint"
  397.  
  398.  
  399.     // AI'S TROOPS
  400.  
  401.     // NEUTRAL OBJECTS
  402.  
  403. use Rol_SUPPORT_A in team 0 for
  404. "SUPPORT A" 
  405.  
  406. use Rol_SUPPORT_B in team 0 for
  407. "SUPPORT B" 
  408.  
  409. use Rol_SUPPORT_C in team 0 for
  410. "SUPPORT C" 
  411.  
  412. use Rol_SUPPORT_D in team 0 for
  413. "SUPPORT D" 
  414.  
  415. use Rol_SUPPORT_E in team 0 for
  416. "SUPPORT E" 
  417.  
  418. use Rol_SUPPORT_F in team 0 for
  419. "SUPPORT F" 
  420.  
  421. use Rol_SUPPORT_G in team 0 for
  422. "SUPPORT G" 
  423.  
  424. use Rol_SUPPORT_H in team 0 for
  425. "SUPPORT H" 
  426.  
  427. use Rol_SUPPORT_I in team 0 for
  428. "SUPPORT I" 
  429.  
  430. use Rol_SUPPORT_J in team 0 for
  431. "SUPPORT J" 
  432.  
  433. use Rol_SUPPORT_K in team 0 for
  434. "SUPPORT K" 
  435.  
  436. use Rol_SUPPORT_L in team 0 for
  437. "SUPPORT L" 
  438.  
  439. use Rol_SUPPORT_M in team 0 for
  440. "SUPPORT M" 
  441.  
  442. use Rol_CAR_A in team 0 for
  443.     "CAR A" and
  444.     "CAR B" and
  445.     "CAR C"
  446.  
  447. use Rol_TRUCK_A in team 0 for
  448. "TRUCK A" and
  449. "TRUCK B" 
  450.  
  451.  
  452. use Rol_Junkpile_F in team 0 for
  453. "JUNKPILE FA" as "JUNKPILE_FA"
  454. use Rol_Junkpile_F in team 0 for
  455. "JUNKPILE FB" as "JUNKPILE_FB"
  456. use Rol_Junkpile_F in team 0 for
  457. "JUNKPILE FC" as "JUNKPILE_FC"
  458. use Rol_Junkpile_F in team 0 for
  459. "JUNKPILE FD" as "JUNKPILE_FD"
  460.  
  461. use Rol_Junkpile_G in team 0 for
  462. "JUNKPILE GA" as "JUNKPILE_GA"
  463. use Rol_Junkpile_G in team 0 for
  464. "JUNKPILE GB" as "JUNKPILE_GB"
  465. use Rol_Junkpile_G in team 0 for
  466. "JUNKPILE GC" as "JUNKPILE_GC"
  467. use Rol_Junkpile_G in team 0 for
  468. "JUNKPILE GD" as "JUNKPILE_GD"
  469.  
  470. use Rol_Junkpile_K in team 0 for
  471. "JUNKPILE KA" as "JUNKPILE_KA"
  472. use Rol_Junkpile_K in team 0 for
  473. "JUNKPILE KB" as "JUNKPILE_KB"
  474. use Rol_Junkpile_K in team 0 for
  475. "JUNKPILE KC" as "JUNKPILE_KC"
  476. use Rol_Junkpile_K in team 0 for
  477. "JUNKPILE KD" as "JUNKPILE_KD"
  478.  
  479.  
  480. use Rol_Junkpile_L in team 0 for
  481. "JUNKPILE L" as "JUNKPILE_L"
  482. use Rol_Junkpile_L in team 0 for
  483. "JUNKPILE LB" as "JUNKPILE_LB"
  484. use Rol_Junkpile_L in team 0 for
  485. "JUNKPILE LC" as "JUNKPILE_LC"
  486. use Rol_Junkpile_L in team 0 for
  487. "JUNKPILE LD" as "JUNKPILE_LD"
  488. use Rol_Junkpile_L in team 0 for
  489. "JUNKPILE LE" as "JUNKPILE_LE"
  490. use Rol_Junkpile_L in team 0 for
  491. "JUNKPILE LF" as "JUNKPILE_LF"
  492. use Rol_Junkpile_L in team 0 for
  493. "JUNKPILE LG" as "JUNKPILE_LG"
  494. use Rol_Junkpile_L in team 0 for
  495. "JUNKPILE LH" as "JUNKPILE_LH"
  496.  
  497.  
  498. use Rol_Junkpile_M in team 0 for
  499. "JUNKPILE M" as "JUNKPILE_M"
  500. use Rol_Junkpile_M in team 0 for
  501. "JUNKPILE MB" as "JUNKPILE_MB"
  502. use Rol_Junkpile_M in team 0 for
  503. "JUNKPILE MC" as "JUNKPILE_MC"
  504. use Rol_Junkpile_M in team 0 for
  505. "JUNKPILE MD" as "JUNKPILE_MD"
  506. use Rol_Junkpile_M in team 0 for
  507. "JUNKPILE ME" as "JUNKPILE_ME"
  508. use Rol_Junkpile_M in team 0 for
  509. "JUNKPILE MF" as "JUNKPILE_MF"
  510. use Rol_Junkpile_M in team 0 for
  511. "JUNKPILE MG" as "JUNKPILE_MG"
  512. use Rol_Junkpile_M in team 0 for
  513. "JUNKPILE MH" as "JUNKPILE_MH"
  514. use Rol_Junkpile_M in team 0 for
  515. "JUNKPILE MI" as "JUNKPILE_MI"
  516.  
  517.  
  518.  
  519. use Rol_Junkpile_N in team 0 for
  520. "JUNKPILE N" as "JUNKPILE_N"
  521. use Rol_Junkpile_N in team 0 for
  522. "JUNKPILE NB" as "JUNKPILE_NB"
  523. use Rol_Junkpile_N in team 0 for
  524. "JUNKPILE NC" as "JUNKPILE_NC"
  525. use Rol_Junkpile_N in team 0 for
  526. "JUNKPILE ND" as "JUNKPILE_ND"
  527. use Rol_Junkpile_N in team 0 for
  528. "JUNKPILE NE" as "JUNKPILE_NE"
  529. use Rol_Junkpile_N in team 0 for
  530. "JUNKPILE NF" as "JUNKPILE_NF"
  531. use Rol_Junkpile_N in team 0 for
  532. "JUNKPILE NG" as "JUNKPILE_NG"
  533. use Rol_Junkpile_N in team 0 for
  534. "JUNKPILE NH" as "JUNKPILE_NH"
  535. use Rol_Junkpile_N in team 0 for
  536. "JUNKPILE NI" as "JUNKPILE_NI"
  537.  
  538.  
  539. use Rol_Garbage_F in team 0 for
  540. "GARBAGE F" as "GARBAGE_F"
  541. use Rol_Garbage_F in team 0 for
  542. "GARBAGE FB" as "GARBAGE_FB"
  543. use Rol_Garbage_F in team 0 for
  544. "GARBAGE FC" as "GARBAGE_FC"
  545. use Rol_Garbage_F in team 0 for
  546. "GARBAGE FD" as "GARBAGE_FD"
  547. use Rol_Garbage_F in team 0 for
  548. "GARBAGE FE" as "GARBAGE_FE"
  549. use Rol_Garbage_F in team 0 for
  550. "GARBAGE FF" as "GARBAGE_FF"
  551. use Rol_Garbage_F in team 0 for
  552. "GARBAGE FG" as "GARBAGE_FG"
  553. use Rol_Garbage_F in team 0 for
  554. "GARBAGE FH" as "GARBAGE_FH"
  555. use Rol_Garbage_F in team 0 for
  556. "GARBAGE FI" as "GARBAGE_FI"
  557. use Rol_Garbage_F in team 0 for
  558. "GARBAGE FJ" as "GARBAGE_FJ"
  559. use Rol_Garbage_F in team 0 for
  560. "GARBAGE FK" as "GARBAGE_FK"
  561.  
  562.  
  563. use Rol_Garbage_G in team 0 for
  564. "GARBAGE G" as "GARBAGE_G"
  565. use Rol_Garbage_G in team 0 for
  566. "GARBAGE GB" as "GARBAGE_GB"
  567. use Rol_Garbage_G in team 0 for
  568. "GARBAGE GC" as "GARBAGE_GC"
  569. use Rol_Garbage_G in team 0 for
  570. "GARBAGE GD" as "GARBAGE_GD"
  571. use Rol_Garbage_G in team 0 for
  572. "GARBAGE GE" as "GARBAGE_GE"
  573. use Rol_Garbage_G in team 0 for
  574. "GARBAGE GF" as "GARBAGE_GF"
  575. use Rol_Garbage_G in team 0 for
  576. "GARBAGE GG" as "GARBAGE_GG"
  577. use Rol_Garbage_G in team 0 for
  578. "GARBAGE GH" as "GARBAGE_GH"
  579. use Rol_Garbage_G in team 0 for
  580. "GARBAGE GI" as "GARBAGE_GI"
  581.  
  582.  
  583. use Rol_Garbage_E in team 0 for
  584. "GARBAGE E" as "GARBAGE_E"
  585. use Rol_Garbage_E in team 0 for
  586. "GARBAGE EB" as "GARBAGE_EB"
  587. use Rol_Garbage_E in team 0 for
  588. "GARBAGE EC" as "GARBAGE_EC"
  589. use Rol_Garbage_E in team 0 for
  590. "GARBAGE ED" as "GARBAGE_ED"
  591. use Rol_Garbage_E in team 0 for
  592. "GARBAGE EE" as "GARBAGE_EE"
  593. use Rol_Garbage_E in team 0 for
  594. "GARBAGE EF" as "GARBAGE_EF"
  595. use Rol_Garbage_E in team 0 for
  596. "GARBAGE EG" as "GARBAGE_EG"
  597. use Rol_Garbage_E in team 0 for
  598. "GARBAGE EH" as "GARBAGE_EH"
  599.  
  600. use Rol_Garbage_B in team 0 for
  601. "GARBAGE BA" as "GARBAGE_BA"
  602. use Rol_Garbage_B in team 0 for
  603. "GARBAGE BB" as "GARBAGE_BB"
  604. use Rol_Garbage_B in team 0 for
  605. "GARBAGE BC" as "GARBAGE_BC"
  606. use Rol_Garbage_B in team 0 for
  607. "GARBAGE BD" as "GARBAGE_BD"
  608.  
  609. use Rol_Garbage_H in team 0 for
  610. "GARBAGE HA" as "GARBAGE_HA"
  611. use Rol_Garbage_H in team 0 for
  612. "GARBAGE HB" as "GARBAGE_HB"
  613. use Rol_Garbage_H in team 0 for
  614. "GARBAGE HC" as "GARBAGE_HC"
  615. use Rol_Garbage_H in team 0 for
  616. "GARBAGE HD" as "GARBAGE_HD"
  617.  
  618. use Rol_Garbage_I in team 0 for
  619. "GARBAGE IA" as "GARBAGE_IA"
  620. use Rol_Garbage_I in team 0 for
  621. "GARBAGE IB" as "GARBAGE_IB"
  622. use Rol_Garbage_I in team 0 for
  623. "GARBAGE IC" as "GARBAGE_IC"
  624. use Rol_Garbage_I in team 0 for
  625. "GARBAGE ID" as "GARBAGE_ID"
  626.  
  627. }